package br.com.wepa.webapps.orca.controle.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import br.com.wepa.webapps.logger.TraceLogger;
import br.com.wepa.webapps.orca.controle.actions.struts.SuperAction;

public class DefaultAction extends SuperAction{
    /**
     * Objeto de Log
     */
    @SuppressWarnings("unused")
	private static final TraceLogger logger  = new TraceLogger(
    		DefaultAction.class);
    
  
    
    public DefaultAction() {
    }



	@Override
	protected String getForwardErroName(String nomeMetodo) {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public ActionForward back(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		return super.back(mapping, form, request, response);
	}
	
	@Override
	public ActionForward popBack(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		return super.popBack(mapping, form, request, response);
	}
	
	
	
	@Override
	public ActionForward recall(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		return super.recall(mapping, form, request, response);
	}


	@Override
	public ActionForward principal(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {		
		return mapping
		.findForward(GLOBAL_FWPAGE_PRINCIPAL);
	}
   


}